package cn.getech.data.development.entity.flink;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "bdp_real_time_run_history")
public class BdpRealTimeRunHistory implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 任务id
     */
    @TableField(value = "task_id")
    private Integer taskId;

    /**
     * 运行状态，0 失败 1 成功 2 运行中 3 未运行
     */
    @TableField(value = "run_state")
    private Integer runState;

    /**
     * 更新时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 更新时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    private static final long serialVersionUID = 1L;
}